#if !defined(GAMEOBJECT_H)
#define GAMEOBJECT_H

#include <wrl/client.h>
#include <d3d11.h>

#include "Transform.h"

class GameObject {
protected:
    template<class T>
    using ComPtr = Microsoft::WRL::ComPtr<T>;
    Transform transform;
    ComPtr<ID3D11Buffer> pVertexBuffer;
    UINT vertexStride;
    ComPtr<ID3D11Buffer> pIndexBuffer;
    UINT indexCount;
    ComPtr<ID3D11ShaderResourceView> pTextureView;

public:
    GameObject();
    ~GameObject();
};

#endif // GAMEOBJECT_H
